package cn.edu.nsmc.modules.sys.service;

import cn.edu.nsmc.common.utils.R;
import cn.edu.nsmc.modules.sys.entity.SysDepartmentEntity;
import cn.edu.nsmc.modules.sys.form.DepartmentList;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Author ZY
 * @Date 2024/2/19 20:08
 */
public interface SysDepartmentService extends IService<SysDepartmentEntity> {
    R addDepartment(SysDepartmentEntity sysDepartmentEntity);
    R updateDepartment(SysDepartmentEntity sysDepartmentEntity);
    R getDepartmentById(Long id);
    R getDepartmentList(DepartmentList departmentList);
    R deleteDepartmentByIds(String[] ids);

    R deleteDepartmentById(Long id);
}
